package com.woniu.user.service;

import com.woniu.user.controller.form.LessonAddForm;
import com.woniu.user.model.Lesson;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程信息表 服务类
 * </p>
 *
 * @author Silas
 * @since 2023-02-15
 */
public interface LessonService extends IService<Lesson> {

    List<Lesson> findMyLesson(Integer coachId);

    void add(LessonAddForm lessonAddForm, Integer userId);

    List<Lesson> getMy(Integer userId);
}
